import React from 'react'
import ReactDOM from 'react-dom/client'
import './index.css'

import {BrowserRouter as Router} from "react-router-dom";
import App from './App'

// store
import {store,persistor} from "@/store"
import { PersistGate } from 'redux-persist/lib/integration/react';
import {Provider} from "react-redux"

import Test from "@/views/Test"



ReactDOM.createRoot(document.getElementById('root')).render(
  <Provider store={store}>
    <PersistGate loading={null} persistor={persistor}>
      <Router>
        {/* <React.StrictMode> */}
          <App />
          {/* <Test /> */}
        {/* </React.StrictMode>, */}
      </Router>
    </PersistGate>
  </Provider>

)
